package JavaSEAdvance.day01_extends.d017_homework03;

/**
 * @author Xiao
 * @date 2021/7/15
 */
public class Programmer extends Employee{
    @Override
    protected void message() {
        System.out.println("……" +
                "（程序员的通知内容）" +
                "……");
    }

    @Override
    public String toString() {
        return "Programmer{" +
                "id='" + getId() + '\'' +
                ", name='" + getName() + '\'' +
                ", age=" + getAge() +
                '}';
    }

    public Programmer() {
    }

    public Programmer(String id, String name, int age) {
        super(id, name, age);
    }
}
